public static var canJump : boolean = false;

function OnTriggerEnter(other : Collider)
{
	if(other.gameObject.tag == "CanJump")
	{
		canJump = true;
		CharMovement.animationJump = false;
	}
}

function OnTriggerExit(other : Collider)
{
	if(other.gameObject.tag == "CanJump")
	{
		canJump = false;
	}
}